/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package repomanagement.entities;

/**
 *
 * @author Nicolas
 */
public class Computer extends Equipment {
    public static final int DESKTOP = 0;
    public static final int LAPTOP = 1;

    private int compId;
    private int type;
    private String cpu;
    private String ram;
    private String disk;

    public Computer() { }

    public Computer(String label, String sn, int type, String model, String cpu, String ram, String disk){
        this.label = label;
        this.sn = sn;
        this.type = type;
        this.model = model;
        this.cpu = cpu;
        this.ram = ram;
        this.disk = disk;
    }


    public Integer getCompId() {
        return compId;
    }

    public void setCompId(Integer compId) {
        this.compId = compId;
    }


    public String getCpu() {
        return cpu;
    }

    public void setCpu(String cpu) {
        this.cpu = cpu;
    }

    public String getRam() {
        return ram;
    }

    public void setRam(String ram) {
        this.ram = ram;
    }

    public String getDisk(){
        return disk;
    }

    public void setDisk(String disk){
        this.disk = disk;
    }

    public int getType(){
        return type;
    }

    public void setType(int type){
        this.type = type;
    }

    @Override
    public String toString() {
        return "Computer[LABEL=" + label + " - SN="+sn+" - MODEL="+model+" - CPU="+cpu+" - RAM="+ram+"]";
    }
}
